const state = {
    userName: '',
    userPwd: '',
};

const action = {

};

const mutations = {
    UPDATEUSERNAME(state, value) {
        state.userName = value;
    },
    UPDATEUSERPWD(state, value) {
        state.userPwd = value;
    },
    STOREUSERREGISTER(state, value) {
        state.userName = value.userName;
        state.userPwd = value.password;
    }
};

const getters = {

}

export default {
    namespaced: true,
    state,
    action,
    mutations,
    getters,
}